package com.nfit.shopadmin.service;

import com.nfit.shopmodel.dto.order.OrderDto;
import com.nfit.shopmodel.vo.order.OrderItemVo;

/**
 * ClassName:OrderService
 * Package:com.nfit.shopadmin.service
 * Description
 *
 * @Author L
 * @Create 2025/1/6 0:10
 */
public interface OrderService {

    /**
     * 查询预付订单项
     */
    OrderItemVo getOrderItem();

    /**
     * 查询立即购买订单项
     */
    OrderItemVo getOrderItemNow(Long skuId,Integer count);

    /**
     * 创建订单
     * @param orderDto 接收前端参数
     * @return 订单id
     */
    String saveOrderInfo(OrderDto orderDto);
}
